package com.walker.kuyun.bean

import com.google.gson.annotations.SerializedName

class VideoShowBean(
    override var type: String,
    override var actionUrl: String,
    var url: String,
    var title: String,
    var rTitle: String,      //右侧更多等...
    var cover: String,
    var episode: String,
    var videoCoverList: List<VideoCoverBean>? = null
) : BaseBean

data class VideoCoverBean(       //番剧卡片
    override var type: String,
    override var actionUrl: String,
    var url: String,
    var title: String,
    var cover: ImageBean?,
    var episode: String,
    var videoType: List<VideoTypeBean>? = null,
    var describe: String? = null,
    var episodeClickable: TMEpisodeDataBean? = null,
    var area: VideoAreaBean? = null,
    var date: String? = null,
    var size: String? = null,           //视频大小，如300M
    var episodeCount: String? = null,    //集数
    var score:Float?=0.0f   //评分
) : BaseBean

class VideoTypeBean(       //番剧类型：包括类型名和链接
    override var type: String,
    override var actionUrl: String,
    var url: String,
    var title: String
) : BaseBean

class VideoAreaBean(       //番剧地区：包括地区名和链接
    override var type: String,
    override var actionUrl: String,
    var url: String,
    var title: String
) : BaseBean

data class ImageBean(       //图片bean，带有referer信息
    @SerializedName("type")
    override var type: String,

    @SerializedName("actionUrl")
    override var actionUrl: String,

    @SerializedName("url")
    var url: String,

    @SerializedName("referer")
    var referer: String
) : BaseBean